package com.yz.xyt.domain.vo;

import com.yz.xyt.constant.Constants;
import com.yz.xyt.domain.Student;

/**
 *学生信息vo
 */
public class StudentVo extends Student{

    private Integer pageSize;
    private Integer pageNumber;
    /**
     * 班级名称
     */
    private String clazzName;
    /**
     * 辅导员
     */
    private String staffName;

    /**
     * 年级
     */
    private String grade;

    /**
     * 专业名称
     */
    private String majorName;
    /**
     * 学院
     */
    private String schoolName;

    /**
     * 教职工编号
     */
    private String staffNumber;

    /**
     * 专业编码
     */
    private String majorNumber;

    private String deptNumber;

    public Integer getPageSize() {
        return pageSize = "".equals(pageSize) || pageSize == null ? Constants.DEFAULT_PAGE_SIZE : pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNumber() {
        return pageNumber = "".equals(pageNumber) || pageNumber ==null ? Constants.DEFAULT_PAGE_NUMBER : pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public String getClazzName() {
        return clazzName;
    }

    public void setClazzName(String clazzName) {
        this.clazzName = clazzName;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getStaffNumber() {
        return staffNumber;
    }

    public void setStaffNumber(String staffNumber) {
        this.staffNumber = staffNumber;
    }

    public String getMajorNumber() {
        return majorNumber;
    }

    public void setMajorNumber(String majorNumber) {
        this.majorNumber = majorNumber;
    }

    public String getDeptNumber() {
        return deptNumber;
    }

    public void setDeptNumber(String deptNumber) {
        this.deptNumber = deptNumber;
    }

    @Override
    public String toString() {
        return "StudentVo{" +
                "pageSize=" + pageSize +
                ", pageNumber=" + pageNumber +
                ", clazzName='" + clazzName + '\'' +
                ", staffName='" + staffName + '\'' +
                ", grade='" + grade + '\'' +
                ", majorName='" + majorName + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", staffNumber='" + staffNumber + '\'' +
                ", majorNumber='" + majorNumber + '\'' +
                ", deptNumber='" + deptNumber + '\'' +
                '}';
    }
}
